import {get, post} from '../fetch'

// 【news】--获取列表
export const getJdNewsList = (params) => get('jdNews/getList', params)
// 【news】--新增数据
export const saveJdNews = (params) => post('jdNews/save', params)
// 【news】--更新数据
export const editJdNews = (params) => post('jdNews/edit', params)
// 【news】--删除数据
export const deleteJdNews = (data) => post('jdNews/delete/' + data, data)
// 【third】--获取列表
export const getThirdList = (params) => get('jdAppUser/getThirdList', params)
